<template>
    <li>
        <slot></slot>
    </li>
</template>
<script>
    export default{
        name: 'my-li',
        data () {
            return {

            }
        }
    }
</script>
<style scoped>
*{
    margin: 0;
    padding: 0;
}
li{
    box-sizing: border-box;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: 33.33%;
    height: 100px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    position: relative;
}
li a{
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
}
li span{
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}
li p{
    text-align: center;
    font-size: 18px;
    color: #000;
}
li .cms-news{
    background: url('../../assets/img/news.png');
    background-size: 100% 100%;
}
li .cms-img{
    background: url('../../assets/img/img.png');
    background-size: 100% 100%;
}
li .cms-show{
    background: url('../../assets/img/show.png');
    background-size: 100% 100%;
}
li .cms-msg{
    background: url('../../assets/img/msg.png');
    background-size: 100% 100%;
}
li .cms-find{
    background: url('../../assets/img/find.png');
    background-size: 100% 100%;
}
li .cms-ours{
    background: url('../../assets/img/ours.png');
    background-size: 100% 100%;
}
</style>
